<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>FetchOrientation</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">FetchOrientation()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>FetchOrientation</b></font>(ObjectID [, Mode])</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Get the orientation of the specified object. <a href="getx.html">GetX()</a>, <a href="gety.html">GetY()</a>, <a href="getz.html">GetZ()</a> and <a href="getw.html">GetW()</a> 
will be used to get orientation values. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>ObjectID</i></td>
<td width="90%"> 
 
The object ID to get the orientation. It can be one of the following type: 
 
<pre><font face="Courier New, Courier, mono"size="2">  - Camera         : use <a href="../camera/cameraid.html">CameraID()</a> to get a valid ID.
  - Entity         : use <a href="../entity/entityid.html">EntityID()</a> to get a valid ID.
  - Light          : use <a href="../light/lightid.html">LightID()</a> to get a valid ID.
  - Mesh           : use <a href="../mesh/meshid.html">MeshID()</a> to get a valid ID.
  - Node           : use <a href="../node/nodeid.html">NodeID()</a> to get a valid ID.
  - ParticleEmitter: use <a href="../particle/particleemitterid.html">ParticleEmitterID()</a> to get a valid ID.
  - BillboardGroup : use <a href="../billboard/billboardgroupid.html">BillboardGroupID()</a> to get a valid ID.
  - Text3D         : use <a href="../text3d/text3did.html">Text3DID()</a> to get a valid ID.
</font></pre>

</td></tr>
<tr><td><i>Mode (optional)</i></td>
<td> 
 
The mode to get the orientation. It can be one of the following value: 
 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Absolute</font>: get the absolute orientation of the object in the world (default).
  <font color="#924B72">#PB_Relative</font>: get the orientation of the object relative to its parent.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

None.





</blockquote><p><b>See Also</b></p><blockquote>

<a href="getx.html">GetX()</a>, <a href="gety.html">GetY()</a>, <a href="getz.html">GetZ()</a>, <a href="getw.html">GetW()</a>, <a href="setorientation.html">SetOrientation()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=examineworldcollisions.html>ExamineWorldCollisions()</a> - <a href=index.html>Engine3D Index</a> - <a href=firstworldcollisionentity.html>FirstWorldCollisionEntity()</a> -&gt;



</body></html>